﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Ajax;

namespace Gfw.Web.Common
{
    public static class ViewHelper
    {
        public static string AjaxContainer = "_ajaxform_";
        public static AjaxOptions AjaxGet = new AjaxOptions()
        {
            UpdateTargetId = AjaxContainer,
            HttpMethod = "Get",
            InsertionMode = InsertionMode.Replace

        };
        public static AjaxOptions AjaxPost = new AjaxOptions()
        {
            UpdateTargetId = AjaxContainer,
            HttpMethod = "Post",
            InsertionMode = InsertionMode.Replace

        };

        public const int PageSize = 30;
    }
}